//
//  HMBaseViewController.m
//  G05爱鲜蜂
//
//  Created by 源 何 on 16/10/15.
//  Copyright © 2016年 何源. All rights reserved.
//

#import "HMBaseViewController.h"

@interface HMBaseViewController ()

@end

@implementation HMBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self.navigationController.navigationBar setBackIndicatorImage:[UIImage imageNamed:@"v2_goback"]];
    [self.navigationController.navigationBar setBackIndicatorTransitionMaskImage:[UIImage imageNamed:@"v2_goback"]];
    [self.navigationItem setBackBarButtonItem:[[UIBarButtonItem alloc] initWithTitle:@"" style:UIBarButtonItemStyleDone target:nil action:nil]];
    self.navigationController.navigationBarHidden = NO;
    
    self.navigationController.navigationBar.tintColor = [UIColor grayColor];
    //关闭高斯模糊
    self.navigationController.navigationBar.translucent = NO;

}
-(void)viewWillDisappear:(BOOL)animated
{
    [super viewWillDisappear:animated];
    self.navigationController.navigationBarHidden = YES;
}


@end
